const routes = [
  {
    path: '/news/list',
    name: 'news',
    component: () => import('../pages/news/index.vue'),
    meta: {
      requiresAuth: true,
    },
  },
  {
    path: '/news/add',
    name: 'newsAdd',
    component: () => import('../pages/news/add.vue'),
    meta: {
      requiresAuth: true,
    },
  },
];

export default routes;

